<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .out{
            position: relative;
            background-color: aliceblue;
            width: 1200px;
            height: 450px;
            left: 180px;
            top: 80px;
        }
        .in1{
            position: absolute;
            background-color: #000;
            height: 450px;
            width: 250px;
            opacity: 0.6;
            z-index: 1;
        }
        .in2{
            position: absolute;
            left: 0px;
            height: 450px;
            width: 1200px;
            background-color: aquamarine;
            background-image: url(../imgs/m1.jpg);
            background-size: 1200px;
            /* background-size: cover; */

            animation: img 10s linear infinite;
        }
        @keyframes img{
            0%{
                background-image: url(../imgs/m1.jpg);
            }
            20%{
                background-image: url(../imgs/m2.webp);
            }
            40%{
                background-image: url(../imgs/m3.webp);
            }
            60%{
                background-image: url(../imgs/m4.webp);
            }
            80%{
                background-image: url(../imgs/m5.webp);
            }
            100%{
                background-image: url(../imgs/m6.webp);
            }
        }
        .uu{
            padding-left: 0;
            padding-top: 20px;
        }
        .uu>li{
            color: white;
            list-style: none;
            padding: 9px;
            padding-left: 30px;

        }
        .uu>li:hover{
            background-color:darkorange;
        }
    </style>
</head>
<body>
    <div class="out">
        <div class="in1">
            <ul class="uu">
                <li>手机></li>
                <li>电视</li>
                <li>家电</li>
                <li>笔记本 平板 显示器</li>
                <li>出行 穿戴</li>
                <li>耳机 音响</li>
                <li>健康 儿童</li>
                <li>生活 箱包</li>
                <li>智能 路由器</li>
                <li>电源 配件</li>
            </ul>
        </div>
        <div class="in2"></div>
    </div>
</body>
</html>